package com.kazu.friend.service.impl;

import com.kazu.friend.entity.dao.FriendInfo;
import com.kazu.friend.mapper.FriendInfoMapper;
import com.kazu.friend.service.FriendInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 友链信息 服务实现类
 * </p>
 *
 * @author kazu
 * @since 2023/02/19 10:21
 */
@Service
public class FriendInfoServiceImpl extends ServiceImpl<FriendInfoMapper, FriendInfo> implements FriendInfoService {
	
	@Autowired
	private FriendInfoMapper friendInfoMapper;
	
	/**
	 * 查询所有数据非分页
	 *
	 * @return 所有数据
	 */
	@Override
	public List<FriendInfo> getAll() {
		return friendInfoMapper.selectList(null);
	}
}
